Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Oct 13, 2025

Rationale for this change

archery docker push doesn't support custom Docker registry such as ghcr.io.

What changes are included in this PR?

Parse Docker image tag and specify Docker registry name to docker push if it's specified in the tag.

Docker image tag format: [HOST[:PORT]/]NAMESPACE/REPOSITORY[:TAG]

See also: https://docs.docker.com/reference/cli/docker/image/tag/#description

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions
Copy link

⚠️ GitHub issue #47795 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Oct 13, 2025
@kou
Copy link
Member Author

kou commented Oct 13, 2025

Tested on fork: https://github.com/kou/arrow/actions/runs/18453345827/job/52570194668#step:7:48

DEBUG:archery:Executing `['docker', 'login', '--username', 'kou', '--password-stdin', 'ghcr.io']`

Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kou this looks good to me!

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Oct 13, 2025
@kou kou merged commit 81ef967 into apache:main Oct 13, 2025
9 checks passed
@kou kou removed the awaiting merge Awaiting merge label Oct 13, 2025
@kou kou deleted the archery-docker-login branch October 13, 2025 08:54
raulcd pushed a commit that referenced this pull request Oct 13, 2025
### Rationale for this change

`archery docker push` doesn't support custom Docker registry such as ghcr.io.

### What changes are included in this PR?

Parse Docker image tag and specify Docker registry name to `docker push` if it's specified in the tag. 

Docker image tag format: `[HOST[:PORT]/]NAMESPACE/REPOSITORY[:TAG]`

See also: https://docs.docker.com/reference/cli/docker/image/tag/#description

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #47795

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 81ef967.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 71 possible false positives for unstable benchmarks that are known to sometimes produce them.

zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Oct 15, 2025
…che#47796)

### Rationale for this change

`archery docker push` doesn't support custom Docker registry such as ghcr.io.

### What changes are included in this PR?

Parse Docker image tag and specify Docker registry name to `docker push` if it's specified in the tag. 

Docker image tag format: `[HOST[:PORT]/]NAMESPACE/REPOSITORY[:TAG]`

See also: https://docs.docker.com/reference/cli/docker/image/tag/#description

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#47795

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants